package com.example.layui.mapper;


import com.example.layui.pojo.Product;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Component;

@Component
public interface ProductDao extends ElasticsearchRepository<Product,Integer> {
    Product getAllById(Integer id);
}
